<?php 
	$this->assign('button_save_template','<a href="javascript:void(0)" class="btn btn-sm btn-info" onclick="ShowModel();"><i class="fa fa-fw fa-plus"></i> NEW TEMPLATE</a>');
	$this->Html->css(array('font', 'app.v2'), array('inline' => false));
	$this->Html->script(array('app.v2'), array('inline' => false));
?>
<section id="content" class="content-sidebar bg-white">
	<!-- .sidebar -->
	<aside class="sidebar bg-lighter sidebar">
		<div class="text-center clearfix bg-white">
			<?php echo $this->Html->image('avatar.jpg');?>
		</div>
		<div class="bg-light padder padder-v">
			<span class="h4"><?php echo h($user['User']['first_name']) . ' ' . h($user['User']['last_name']);?></span> 
			<small class="block m-t-mini"><?php echo h($user['Group']['name'])?></small>
			<!--
			<button class="btn btn-primary btn-sm active" data-toggle="class:btn-success">
				<span class="text"><i class="fa fa-eye-slash"></i> Active </span>
				<span class="text-active"><i class="fa fa-eye"></i> Deactive </span>
			</button>
			-->
			<button class="btn btn-primary" id="btn-1" href="#btn-1" data-toggle="class:btn-danger">
				<i class="fa fa-thumbs-up text"></i><span class="text"> Active </span>
				<i class="fa fa-thumbs-down text-active"></i><span class="text-active"> Unactive </span>
			</button>

		</div>
		<div class="list-group list-normal m-b-none">
			<a href="#" class="list-group-item">Email <?php echo h($user['User']['email'])?></a> 
			<a href="#" class="list-group-item">Username <?php echo h($user['User']['username'])?></a> 
			<a href="#" class="list-group-item">Created <?php echo h($user['User']['created'])?></a> 
			<a href="#" class="list-group-item">Modified <?php echo h($user['User']['modified'])?></a> 
			<a href="#" class="list-group-item">Status <?php echo h($user['User']['status'])?></a> 
			<a href="#" class="list-group-item">Group <?php echo h($user['Group']['name'])?></a> 
			<a href="#" class="list-group-item"><span class="badge m-r">4</span> Templates</a> 
		</div>
	</aside>
	<!-- /.sidebar -->
	<!-- .sidebar -->
	<section class="main">
		<div class="padder">
			<div class="row">
				<div class="col-xs-4 bg-primary padder-v">
					<div class="h2">816</div>
				Followers </div>
				<div class="col-xs-4 bg-info padder-v">
					<div class="h2">2,875</div>
				Following </div>
				<div class="col-xs-4 bg-success padder-v">
					<div class="h2">3,147</div>
				Friends </div>
			</div>
		</div>
		<ul class="nav nav-tabs m-b-none no-radius">
			<li class="active"><a href="#all" data-toggle="tab">All</a></li>
			<li><a href="#events" data-toggle="tab">Events</a></li>
			<li><a href="#feed" data-toggle="tab">Feed</a></li>
		</ul>
		<div class="tab-content">
			<div class="tab-pane active" id="all">
				<ul class="list-group list-normal">
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?></a>
					<div><small class="pull-right text-muted">3 minuts ago</small> <a href="#"><strong>Foxe Ohil</strong></a> commented <a href="#">Vestibulum ullamcorper sodales nisi nec...</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">1 hour ago</small> <a href="#"><strong>Mogen Osker</strong></a> posted a video <a href="#">Aamcorper sodales nisi nec</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">3 minuts ago</small> <a href="#"><strong>Foxe Ohil</strong></a> commented <a href="#">Vestibulum ullamcorper sodales nisi nec...</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">1 hour ago</small> <a href="#"><strong>Mogen Osker</strong></a> posted a video <a href="#">Aamcorper sodales nisi nec</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">3 minuts ago</small> <a href="#"><strong>Foxe Ohil</strong></a> commented <a href="#">Vestibulum ullamcorper sodales nisi nec...</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">1 hour ago</small> <a href="#"><strong>Mogen Osker</strong></a> posted a video <a href="#">Aamcorper sodales nisi nec</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">3 minuts ago</small> <a href="#"><strong>Foxe Ohil</strong></a> commented <a href="#">Vestibulum ullamcorper sodales nisi nec...</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">1 hour ago</small> <a href="#"><strong>Mogen Osker</strong></a> posted a video <a href="#">Aamcorper sodales nisi nec</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
				</ul>
			</div>
			<div class="tab-pane" id="events">
				<ul class="list-group list-normal">
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">3 minuts ago</small> <a href="#"><strong>Foxe Ohil</strong></a> commented <a href="#">Vestibulum ullamcorper sodales nisi nec...</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
				</ul>
			</div>
			<div class="tab-pane" id="feed">
				<ul class="list-group list-normal">
					<li class="list-group-item"><a href="#" class="thumb-small pull-left m-r-small">
					<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?>
					<div><small class="pull-right text-muted">1 hour ago</small> <a href="#"><strong>Mogen Osker</strong></a> posted a video <a href="#">Aamcorper sodales nisi nec</a>
						<div class="text-small"><a href="#">Like</a> <a href="#">Comment</a> </div>
					</div>
					</li>
				</ul>
			</div>
		</div>
	</section>
	<!-- /.sidebar -->
	<!-- .sidebar -->
	<aside class="sidebar bg text-small">
		<div class="padder padder-v">
			<div class="input-group">
				<input type="text" class="input-sm form-control" placeholder="Search friends">
				<span class="input-group-btn">
					<button class="btn btn-sm btn-white" type="button"><i class="fa fa-search"></i></button>
				</span></div>
		</div>
		<ul class="list-group list-normal m-b">
			<li class="list-group-item">
				<div class="media"><span class="pull-left thumb-small">
				<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?></span>
				<div class="pull-right text-success m-t-small"><i class="fa fa-circle"></i></div>
				<div class="media-body">
					<div><a href="#" class="h5">Chris Fox</a></div>
				<small class="text-muted">2 minutes ago</small> </div>
				</div>
			</li>
			<li class="list-group-item">
				<div class="media"><span class="pull-left thumb-small">
				<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?></span>
				<div class="pull-right text-success m-t-small"><i class="fa fa-circle"></i></div>
				<div class="media-body">
					<div><a href="#" class="h5">Amanda Col</a></div>
				<small class="text-muted">2 hours ago</small> </div>
				</div>
			</li>
			<li class="list-group-item">
				<div class="media"><span class="pull-left thumb-small">
				<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?></span>
				<div class="pull-right text-warning m-t-small"><i class="fa fa-circle"></i></div>
				<div class="media-body">
					<div><a href="#" class="h5">Dan Doorack</a></div>
				<small class="text-muted">3 days ago</small> </div>
				</div>
			</li>
			<li class="list-group-item">
				<div class="media"><span class="pull-left thumb-small">
				<?php echo $this->Html->image('avatar.jpg', array('class'=>'img-circle'));?></span>
				<div class="pull-right text-danger m-t-small"><i class="fa fa-circle"></i></div>
				<div class="media-body">
					<div><a href="#" class="h5">Lauren Taylor</a></div>
				<small class="text-muted">2 minutes ago</small> </div>
				</div>
			</li>
		</ul>
	</aside>
	<!-- /.sidebar -->
</section>
